package com.zat.mes.andrmes.data

/**
 * @author zy
 * @date :2020-05-19 14:32
 * @description:外协
 */
data class OutSourceBean(
    val attachment: String,
    val colorList: String,
    val corpId: String,
    val customerName: String,
    val inDateTime: String,
    val inEmp: String,
    val orderId: String,
    val osfactoryId: String,
    val osfactoryName: String,
    val osfactoryType: String,
    val outDate: String,
    val outDateTime: String,
    val outEmpName: String,
    val outsourceCutpackageList: List<OutsourceCutpackage>,
    val outsourceId: String,
    val outsourceOrderBomList: List<OutsourceOrderBom>,
    val outsourceOrderDetails: List<OutsourceOrderDetail>,
    var outsourceRecallplanList:MutableList<Recallplan>?,
    val outsourceType: String,
    val planInDate: String,
    val productName: String,
    val quantity: String,
    val realInDate: String,
    val remark: String,
    val sizeList: String,
    val status: String,
    val styleNo: String,
    val totalCost: String,
    val unitPrice: String,
    var Aquert: String,
    var Bquert: String
)

data class OutsourceOrderBom(
    val brand: String,
    val color: String,
    val fabricContent: String,
    val fullName: String,
    val inDatetime: String,
    val inEmpName: String,
    var inQty: String,
    val main_provider: String,
    val main_unit: String,
    val materialNO: String,
    val materialName: String,
    val model: String,
    val outDateTime: String,
    val outEmpName: String,
    val outQty: String,
    val outsourceId: String,
    val part: String,
    val provider: String,
    val qrcode: String,
    val rfidcode: String,
    val size: String,
    val typeCode: String,
    val typeName: String,
    val unit: String,
    val unitWaste: String,
    var inmainoutQty: String,
    var inunitoutQty: String,
    var outmainoutQty:String,
    var outunitoutQty:String,
    var practicaloutQty:String,
    var mainoutQty:String,
    var unitoutQty:String
)

data class OutsourceCutpackage(
    var aqty: String,
    var bqty: String,
    val color: String,
    val inDatetime: String,
    val inEmpName: String,
    var inQty: String,
    val outDateTime: String,
    val outEmpName: String,
    val outsourceId: String,
    val packNO: String,
    val productName: String,
    val qrcode: String,
    val quantity: String,
    val rfidcode: String,
    val size: String,
    val styleNo: String,
    var repairQty: String,
    var outQuantity:String,
    var status:String
)

data class OutsourceOrderDetail(
    val color: String,
    val colorId: Any,
    val customerName: Any,
    val orderId: Long,
    val outsourceId: Long,
    val outsourceType: String,
    val productName: String,
    val quantity: String,
    val sizeList: String,
    val styleNo: String,
    val totalCost: Any,
    val unitPrice: Any,
    var outquantity:String,
    var inquantity:String,
    var oldInquantity:Int
)

data class Recallplan(
    var recallId:String?,
    var outsourceId:String?,
    var recallDate:String?,
    var inrecallDate:String?,
    var recallQty:Int?,
    var inrecallqty:Int?
)